filename = "output.txt"

file = open(filename,"w")
file.write(filename)
file.writelines(["hello python\n","hello add",filename])
file.close()
print("追加成功！")
